package main.java.com.chenchangjie.service.impl;

import main.java.com.chenchangjie.Repository.UserRepository;
import main.java.com.chenchangjie.Repository.impl.userRepositoryImpl;
import main.java.com.chenchangjie.service.UserService;

public class UserServiceImpl implements UserService { 

    private UserRepository userRepository = new userRepositoryImpl();
    @Override
    public Object Login(String name, String password) {

        return userRepository.findUserByNamePassword(name, password);
        
    }
}
